{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "kernelspec": {
      "name": "finrl_library_kit",
      "language": "python",
      "display_name": "FinRL_Library_KIT"
    },
    "language_info": {
      "codemirror_mode": {
        "name": "ipython",
        "version": 3
      },
      "file_extension": ".py",
      "mimetype": "text/x-python",
      "name": "python",
      "nbconvert_exporter": "python",
      "pygments_lexer": "ipython3",
      "version": "3.7.4"
    },
    "colab": {
      "name": "Crypto_Binance_Historical_Data.ipynb",
      "provenance": [],
      "toc_visible": true,
      "include_colab_link": true
    }
  },
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "view-in-github",
        "colab_type": "text"
      },
      "source": [
        "<a href=\"https://colab.research.google.com/github/AI4Finance-LLC/FinRL-Library/blob/master/Crypto_Binance_Historical_Data.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "QYSfSKiBZeJf"
      },
      "source": [
        "# Fetch historical data"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "YC1eCkAPZeJh"
      },
      "source": [
        "Python script to fetch historical data from binance using ccxt"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "id": "ft42NOrgZeJh",
        "outputId": "bff73263-dbba-44c5-d1be-61194c59cf95"
      },
      "source": [
        "# Install openpyxl and CCXT\n",
        "!pip install openpyxl ccxt"
      ],
      "execution_count": 1,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "Requirement already satisfied: openpyxl in /usr/local/lib/python3.6/dist-packages (2.5.9)\n",
            "Collecting ccxt\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/cd/fc/a5f722556c66ba48154233f2b90e2921c8c9441357acbd217863b5dc6039/ccxt-1.40.14-py2.py3-none-any.whl (2.0MB)\n",
            "\u001b[K     |████████████████████████████████| 2.0MB 5.5MB/s \n",
            "\u001b[?25hRequirement already satisfied: jdcal in /usr/local/lib/python3.6/dist-packages (from openpyxl) (1.4.1)\n",
            "Requirement already satisfied: et-xmlfile in /usr/local/lib/python3.6/dist-packages (from openpyxl) (1.0.1)\n",
            "Requirement already satisfied: setuptools>=38.5.1 in /usr/local/lib/python3.6/dist-packages (from ccxt) (51.0.0)\n",
            "Collecting aiohttp<3.8,>=3.7.2; python_version >= \"3.5.2\"\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/ad/e6/d4b6235d776c9b33f853e603efede5aac5a34f71ca9d3877adb30492eb4e/aiohttp-3.7.3-cp36-cp36m-manylinux2014_x86_64.whl (1.3MB)\n",
            "\u001b[K     |████████████████████████████████| 1.3MB 18.4MB/s \n",
            "\u001b[?25hCollecting cryptography>=2.6.1\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/c9/de/7054df0620b5411ba45480f0261e1fb66a53f3db31b28e3aa52c026e72d9/cryptography-3.3.1-cp36-abi3-manylinux2010_x86_64.whl (2.6MB)\n",
            "\u001b[K     |████████████████████████████████| 2.6MB 41.3MB/s \n",
            "\u001b[?25hCollecting aiodns<2.1,>=1.1.1; python_version >= \"3.5.2\"\n",
            "  Downloading https://files.pythonhosted.org/packages/da/01/8f2d49b441573fd2478833bdba91cf0b853b4c750a1fbb9e98de1b94bb22/aiodns-2.0.0-py2.py3-none-any.whl\n",
            "Collecting yarl==1.1.0; python_version >= \"3.5.2\"\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/9a/fe/1fc0d9e277f1ff0d29ac44742f769c55f12cc7e66a89ab340f5321937179/yarl-1.1.0-cp36-cp36m-manylinux1_x86_64.whl (255kB)\n",
            "\u001b[K     |████████████████████████████████| 256kB 40.7MB/s \n",
            "\u001b[?25hRequirement already satisfied: requests>=2.18.4 in /usr/local/lib/python3.6/dist-packages (from ccxt) (2.23.0)\n",
            "Requirement already satisfied: certifi>=2018.1.18 in /usr/local/lib/python3.6/dist-packages (from ccxt) (2020.12.5)\n",
            "Collecting multidict<7.0,>=4.5\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/a1/35/b22524d6b9cacfb4c5eff413a069bbc17c6ea628e54da5c6c989998ced5f/multidict-5.1.0-cp36-cp36m-manylinux2014_x86_64.whl (141kB)\n",
            "\u001b[K     |████████████████████████████████| 143kB 33.2MB/s \n",
            "\u001b[?25hRequirement already satisfied: chardet<4.0,>=2.0 in /usr/local/lib/python3.6/dist-packages (from aiohttp<3.8,>=3.7.2; python_version >= \"3.5.2\"->ccxt) (3.0.4)\n",
            "Requirement already satisfied: typing-extensions>=3.6.5 in /usr/local/lib/python3.6/dist-packages (from aiohttp<3.8,>=3.7.2; python_version >= \"3.5.2\"->ccxt) (3.7.4.3)\n",
            "Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.6/dist-packages (from aiohttp<3.8,>=3.7.2; python_version >= \"3.5.2\"->ccxt) (20.3.0)\n",
            "Collecting idna-ssl>=1.0; python_version < \"3.7\"\n",
            "  Downloading https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4/idna-ssl-1.1.0.tar.gz\n",
            "Collecting async-timeout<4.0,>=3.0\n",
            "  Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl\n",
            "Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.6/dist-packages (from cryptography>=2.6.1->ccxt) (1.14.4)\n",
            "Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.6/dist-packages (from cryptography>=2.6.1->ccxt) (1.15.0)\n",
            "Collecting typing; python_version < \"3.7\"\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/05/d9/6eebe19d46bd05360c9a9aae822e67a80f9242aabbfc58b641b957546607/typing-3.7.4.3.tar.gz (78kB)\n",
            "\u001b[K     |████████████████████████████████| 81kB 9.1MB/s \n",
            "\u001b[?25hCollecting pycares>=3.0.0\n",
            "\u001b[?25l  Downloading https://files.pythonhosted.org/packages/43/2d/7f4984a23f6e99cf6a8b20ddc59308efb209fe81e79c97af65e9b30eefae/pycares-3.1.1-cp36-cp36m-manylinux2010_x86_64.whl (228kB)\n",
            "\u001b[K     |████████████████████████████████| 235kB 53.6MB/s \n",
            "\u001b[?25hRequirement already satisfied: idna>=2.0 in /usr/local/lib/python3.6/dist-packages (from yarl==1.1.0; python_version >= \"3.5.2\"->ccxt) (2.10)\n",
            "Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests>=2.18.4->ccxt) (1.24.3)\n",
            "Requirement already satisfied: pycparser in /usr/local/lib/python3.6/dist-packages (from cffi>=1.12->cryptography>=2.6.1->ccxt) (2.20)\n",
            "Building wheels for collected packages: idna-ssl, typing\n",
            "  Building wheel for idna-ssl (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
            "  Created wheel for idna-ssl: filename=idna_ssl-1.1.0-cp36-none-any.whl size=3163 sha256=9ce8cede5631d50727ad57d792b9641cb0d8a5bdb832148f99b34267df12bd6d\n",
            "  Stored in directory: /root/.cache/pip/wheels/d3/00/b3/32d613e19e08a739751dd6bf998cfed277728f8b2127ad4eb7\n",
            "  Building wheel for typing (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
            "  Created wheel for typing: filename=typing-3.7.4.3-cp36-none-any.whl size=26310 sha256=ddec27541ba7c17ebc35c1deac082f63369c4a8273ab66a1d0e51fd06de90663\n",
            "  Stored in directory: /root/.cache/pip/wheels/2d/04/41/8e1836e79581989c22eebac3f4e70aaac9af07b0908da173be\n",
            "Successfully built idna-ssl typing\n",
            "Installing collected packages: multidict, idna-ssl, async-timeout, yarl, aiohttp, cryptography, typing, pycares, aiodns, ccxt\n",
            "Successfully installed aiodns-2.0.0 aiohttp-3.7.3 async-timeout-3.0.1 ccxt-1.40.14 cryptography-3.3.1 idna-ssl-1.1.0 multidict-5.1.0 pycares-3.1.1 typing-3.7.4.3 yarl-1.1.0\n"
          ],
          "name": "stdout"
        },
        {
          "output_type": "display_data",
          "data": {
            "application/vnd.colab-display-data+json": {
              "pip_warning": {
                "packages": [
                  "typing"
                ]
              }
            }
          },
          "metadata": {
            "tags": []
          }
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "WyylIG0mZeJi"
      },
      "source": [
        "import os\n",
        "from pathlib import Path\n",
        "\n",
        "import sys\n",
        "import csv\n",
        "\n",
        "# -----------------------------------------------------------------------------\n",
        "\n",
        "root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(''))))\n",
        "sys.path.append(root + '/python')\n",
        "\n",
        "import ccxt\n",
        "\n",
        "\n",
        "# -----------------------------------------------------------------------------\n",
        "\n",
        "def retry_fetch_ohlcv(exchange, max_retries, symbol, timeframe, since, limit):\n",
        "    num_retries = 0\n",
        "    try:\n",
        "        num_retries += 1\n",
        "        ohlcv = exchange.fetch_ohlcv(symbol, timeframe, since, limit)\n",
        "        # print('Fetched', len(ohlcv), symbol, 'candles from', exchange.iso8601 (ohlcv[0][0]), 'to', exchange.iso8601 (ohlcv[-1][0]))\n",
        "        return ohlcv\n",
        "    except Exception:\n",
        "        if num_retries > max_retries:\n",
        "            raise  # Exception('Failed to fetch', timeframe, symbol, 'OHLCV in', max_retries, 'attempts')\n",
        "\n",
        "\n",
        "def scrape_ohlcv(exchange, max_retries, symbol, timeframe, since, limit):\n",
        "    earliest_timestamp = exchange.milliseconds()\n",
        "    timeframe_duration_in_seconds = exchange.parse_timeframe(timeframe)\n",
        "    timeframe_duration_in_ms = timeframe_duration_in_seconds * 1000\n",
        "    timedelta = limit * timeframe_duration_in_ms\n",
        "    all_ohlcv = []\n",
        "    while True:\n",
        "        fetch_since = earliest_timestamp - timedelta\n",
        "        ohlcv = retry_fetch_ohlcv(exchange, max_retries, symbol, timeframe, fetch_since, limit)\n",
        "        # if we have reached the beginning of history\n",
        "        if ohlcv[0][0] >= earliest_timestamp:\n",
        "            break\n",
        "        earliest_timestamp = ohlcv[0][0]\n",
        "        all_ohlcv = ohlcv + all_ohlcv\n",
        "        print(len(all_ohlcv), symbol, 'candles in total from', exchange.iso8601(all_ohlcv[0][0]), 'to', exchange.iso8601(all_ohlcv[-1][0]))\n",
        "        # if we have reached the checkpoint\n",
        "        if fetch_since < since:\n",
        "            break\n",
        "    return all_ohlcv\n",
        "\n",
        "\n",
        "def write_to_csv(filename, exchange, data):\n",
        "    p = Path(\"./data/raw/\", str(exchange))\n",
        "    p.mkdir(parents=True, exist_ok=True)\n",
        "    full_path = p / str(filename)\n",
        "    with Path(full_path).open('w+', newline='') as output_file:\n",
        "        csv_writer = csv.writer(output_file, delimiter=',', quotechar='\"', quoting=csv.QUOTE_MINIMAL)\n",
        "        csv_writer.writerows(data)\n",
        "\n",
        "\n",
        "def scrape_candles_to_csv(filename, exchange_id, max_retries, symbol, timeframe, since, limit):\n",
        "    # instantiate the exchange by id\n",
        "    exchange = getattr(ccxt, exchange_id)({\n",
        "        'enableRateLimit': True,  # required by the Manual\n",
        "    })\n",
        "    # convert since from string to milliseconds integer if needed\n",
        "    if isinstance(since, str):\n",
        "        since = exchange.parse8601(since)\n",
        "    # preload all markets from the exchange\n",
        "    exchange.load_markets()\n",
        "    # fetch all candles\n",
        "    ohlcv = scrape_ohlcv(exchange, max_retries, symbol, timeframe, since, limit)\n",
        "    # save them to csv file\n",
        "    write_to_csv(filename, exchange, ohlcv)\n",
        "    print('Saved', len(ohlcv), 'candles from', exchange.iso8601(ohlcv[0][0]), 'to', exchange.iso8601(ohlcv[-1][0]), 'to', filename)\n"
      ],
      "execution_count": 2,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "KptosITqZeJi",
        "outputId": "c1a977b3-4a87-40f7-8d59-6a6cc89ecf83"
      },
      "source": [
        "scrape_candles_to_csv('btc_usdt_1m.csv', 'binance', 3, 'BTC/USDT', '1m', '2019-01-0100:00:00Z', 1000)\n",
        "# scrape_candles_to_csv('./data/raw/binance/eth_btc_1m.csv', 'binance', 3, 'ETH/BTC', '1m', '2018-01-01T00:00:00Z', 1000)\n",
        "# scrape_candles_to_csv('./data/raw/binance/ltc_btc_1m.csv', 'binance', 3, 'LTC/BTC', '1m', '2018-01-01T00:00:00Z', 1000)\n",
        "# scrape_candles_to_csv('./data/raw/binance/xlm_btc_1m.csv', 'binance', 3, 'XLM/BTC', '1m', '2018-01-01T00:00:00Z', 1000)"
      ],
      "execution_count": null,
      "outputs": [
        {
          "output_type": "stream",
          "text": [
            "1000 BTC/USDT candles in total from 2021-01-03T19:59:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "2000 BTC/USDT candles in total from 2021-01-03T03:19:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "3000 BTC/USDT candles in total from 2021-01-02T10:39:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "4000 BTC/USDT candles in total from 2021-01-01T17:59:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "5000 BTC/USDT candles in total from 2021-01-01T01:19:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "6000 BTC/USDT candles in total from 2020-12-31T08:39:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "7000 BTC/USDT candles in total from 2020-12-30T15:59:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "8000 BTC/USDT candles in total from 2020-12-29T23:19:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "9000 BTC/USDT candles in total from 2020-12-29T06:39:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "10000 BTC/USDT candles in total from 2020-12-28T13:59:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "11000 BTC/USDT candles in total from 2020-12-27T21:19:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "12000 BTC/USDT candles in total from 2020-12-27T04:39:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "13000 BTC/USDT candles in total from 2020-12-26T11:59:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "14000 BTC/USDT candles in total from 2020-12-25T19:19:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "15000 BTC/USDT candles in total from 2020-12-25T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "16000 BTC/USDT candles in total from 2020-12-24T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "17000 BTC/USDT candles in total from 2020-12-23T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "18000 BTC/USDT candles in total from 2020-12-23T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "19000 BTC/USDT candles in total from 2020-12-22T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "20000 BTC/USDT candles in total from 2020-12-21T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "21000 BTC/USDT candles in total from 2020-12-21T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "22000 BTC/USDT candles in total from 2020-12-20T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "23000 BTC/USDT candles in total from 2020-12-19T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "24000 BTC/USDT candles in total from 2020-12-18T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "25000 BTC/USDT candles in total from 2020-12-18T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "26000 BTC/USDT candles in total from 2020-12-17T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "27000 BTC/USDT candles in total from 2020-12-16T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "28000 BTC/USDT candles in total from 2020-12-16T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "29000 BTC/USDT candles in total from 2020-12-15T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "30000 BTC/USDT candles in total from 2020-12-14T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "31000 BTC/USDT candles in total from 2020-12-14T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "32000 BTC/USDT candles in total from 2020-12-13T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "33000 BTC/USDT candles in total from 2020-12-12T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "34000 BTC/USDT candles in total from 2020-12-12T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "35000 BTC/USDT candles in total from 2020-12-11T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "36000 BTC/USDT candles in total from 2020-12-10T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "37000 BTC/USDT candles in total from 2020-12-09T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "38000 BTC/USDT candles in total from 2020-12-09T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "39000 BTC/USDT candles in total from 2020-12-08T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "40000 BTC/USDT candles in total from 2020-12-07T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "41000 BTC/USDT candles in total from 2020-12-07T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "42000 BTC/USDT candles in total from 2020-12-06T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "43000 BTC/USDT candles in total from 2020-12-05T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "44000 BTC/USDT candles in total from 2020-12-05T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "45000 BTC/USDT candles in total from 2020-12-04T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "46000 BTC/USDT candles in total from 2020-12-03T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "47000 BTC/USDT candles in total from 2020-12-03T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "48000 BTC/USDT candles in total from 2020-12-02T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "49000 BTC/USDT candles in total from 2020-12-01T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "50000 BTC/USDT candles in total from 2020-11-30T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "51000 BTC/USDT candles in total from 2020-11-30T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "52000 BTC/USDT candles in total from 2020-11-29T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "53000 BTC/USDT candles in total from 2020-11-28T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "54000 BTC/USDT candles in total from 2020-11-28T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "55000 BTC/USDT candles in total from 2020-11-27T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "56000 BTC/USDT candles in total from 2020-11-26T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "57000 BTC/USDT candles in total from 2020-11-26T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "58000 BTC/USDT candles in total from 2020-11-25T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "59000 BTC/USDT candles in total from 2020-11-24T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "60000 BTC/USDT candles in total from 2020-11-23T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "61000 BTC/USDT candles in total from 2020-11-23T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "62000 BTC/USDT candles in total from 2020-11-22T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "63000 BTC/USDT candles in total from 2020-11-21T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "64000 BTC/USDT candles in total from 2020-11-21T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "65000 BTC/USDT candles in total from 2020-11-20T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "66000 BTC/USDT candles in total from 2020-11-19T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "67000 BTC/USDT candles in total from 2020-11-19T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "68000 BTC/USDT candles in total from 2020-11-18T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "69000 BTC/USDT candles in total from 2020-11-17T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "70000 BTC/USDT candles in total from 2020-11-17T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "71000 BTC/USDT candles in total from 2020-11-16T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "72000 BTC/USDT candles in total from 2020-11-15T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "73000 BTC/USDT candles in total from 2020-11-14T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "74000 BTC/USDT candles in total from 2020-11-14T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "75000 BTC/USDT candles in total from 2020-11-13T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "76000 BTC/USDT candles in total from 2020-11-12T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "77000 BTC/USDT candles in total from 2020-11-12T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "78000 BTC/USDT candles in total from 2020-11-11T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "79000 BTC/USDT candles in total from 2020-11-10T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "80000 BTC/USDT candles in total from 2020-11-10T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "81000 BTC/USDT candles in total from 2020-11-09T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "82000 BTC/USDT candles in total from 2020-11-08T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "83000 BTC/USDT candles in total from 2020-11-08T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "84000 BTC/USDT candles in total from 2020-11-07T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "85000 BTC/USDT candles in total from 2020-11-06T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "86000 BTC/USDT candles in total from 2020-11-05T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "87000 BTC/USDT candles in total from 2020-11-05T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "88000 BTC/USDT candles in total from 2020-11-04T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "89000 BTC/USDT candles in total from 2020-11-03T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "90000 BTC/USDT candles in total from 2020-11-03T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "91000 BTC/USDT candles in total from 2020-11-02T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "92000 BTC/USDT candles in total from 2020-11-01T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "93000 BTC/USDT candles in total from 2020-11-01T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "94000 BTC/USDT candles in total from 2020-10-31T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "95000 BTC/USDT candles in total from 2020-10-30T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "96000 BTC/USDT candles in total from 2020-10-29T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "97000 BTC/USDT candles in total from 2020-10-29T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "98000 BTC/USDT candles in total from 2020-10-28T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "99000 BTC/USDT candles in total from 2020-10-27T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "100000 BTC/USDT candles in total from 2020-10-27T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "101000 BTC/USDT candles in total from 2020-10-26T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "102000 BTC/USDT candles in total from 2020-10-25T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "103000 BTC/USDT candles in total from 2020-10-25T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "104000 BTC/USDT candles in total from 2020-10-24T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "105000 BTC/USDT candles in total from 2020-10-23T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "106000 BTC/USDT candles in total from 2020-10-23T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "107000 BTC/USDT candles in total from 2020-10-22T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "108000 BTC/USDT candles in total from 2020-10-21T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "109000 BTC/USDT candles in total from 2020-10-20T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "110000 BTC/USDT candles in total from 2020-10-20T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "111000 BTC/USDT candles in total from 2020-10-19T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "112000 BTC/USDT candles in total from 2020-10-18T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "113000 BTC/USDT candles in total from 2020-10-18T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "114000 BTC/USDT candles in total from 2020-10-17T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "115000 BTC/USDT candles in total from 2020-10-16T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "116000 BTC/USDT candles in total from 2020-10-16T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "117000 BTC/USDT candles in total from 2020-10-15T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "118000 BTC/USDT candles in total from 2020-10-14T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "119000 BTC/USDT candles in total from 2020-10-14T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "120000 BTC/USDT candles in total from 2020-10-13T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "121000 BTC/USDT candles in total from 2020-10-12T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "122000 BTC/USDT candles in total from 2020-10-11T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "123000 BTC/USDT candles in total from 2020-10-11T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "124000 BTC/USDT candles in total from 2020-10-10T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "125000 BTC/USDT candles in total from 2020-10-09T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "126000 BTC/USDT candles in total from 2020-10-09T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "127000 BTC/USDT candles in total from 2020-10-08T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "128000 BTC/USDT candles in total from 2020-10-07T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "129000 BTC/USDT candles in total from 2020-10-07T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "130000 BTC/USDT candles in total from 2020-10-06T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "131000 BTC/USDT candles in total from 2020-10-05T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "132000 BTC/USDT candles in total from 2020-10-04T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "133000 BTC/USDT candles in total from 2020-10-04T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "134000 BTC/USDT candles in total from 2020-10-03T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "135000 BTC/USDT candles in total from 2020-10-02T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "136000 BTC/USDT candles in total from 2020-10-02T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "137000 BTC/USDT candles in total from 2020-10-01T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "138000 BTC/USDT candles in total from 2020-09-30T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "139000 BTC/USDT candles in total from 2020-09-30T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "140000 BTC/USDT candles in total from 2020-09-29T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "141000 BTC/USDT candles in total from 2020-09-28T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "142000 BTC/USDT candles in total from 2020-09-28T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "143000 BTC/USDT candles in total from 2020-09-27T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "144000 BTC/USDT candles in total from 2020-09-26T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "145000 BTC/USDT candles in total from 2020-09-25T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "146000 BTC/USDT candles in total from 2020-09-25T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "147000 BTC/USDT candles in total from 2020-09-24T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "148000 BTC/USDT candles in total from 2020-09-23T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "149000 BTC/USDT candles in total from 2020-09-23T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "150000 BTC/USDT candles in total from 2020-09-22T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "151000 BTC/USDT candles in total from 2020-09-21T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "152000 BTC/USDT candles in total from 2020-09-21T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "153000 BTC/USDT candles in total from 2020-09-20T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "154000 BTC/USDT candles in total from 2020-09-19T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "155000 BTC/USDT candles in total from 2020-09-19T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "156000 BTC/USDT candles in total from 2020-09-18T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "157000 BTC/USDT candles in total from 2020-09-17T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "158000 BTC/USDT candles in total from 2020-09-16T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "159000 BTC/USDT candles in total from 2020-09-16T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "160000 BTC/USDT candles in total from 2020-09-15T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "161000 BTC/USDT candles in total from 2020-09-14T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "162000 BTC/USDT candles in total from 2020-09-14T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "163000 BTC/USDT candles in total from 2020-09-13T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "164000 BTC/USDT candles in total from 2020-09-12T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "165000 BTC/USDT candles in total from 2020-09-12T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "166000 BTC/USDT candles in total from 2020-09-11T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "167000 BTC/USDT candles in total from 2020-09-10T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "168000 BTC/USDT candles in total from 2020-09-09T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "169000 BTC/USDT candles in total from 2020-09-09T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "170000 BTC/USDT candles in total from 2020-09-08T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "171000 BTC/USDT candles in total from 2020-09-07T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "172000 BTC/USDT candles in total from 2020-09-07T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "173000 BTC/USDT candles in total from 2020-09-06T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "174000 BTC/USDT candles in total from 2020-09-05T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "175000 BTC/USDT candles in total from 2020-09-05T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "176000 BTC/USDT candles in total from 2020-09-04T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "177000 BTC/USDT candles in total from 2020-09-03T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "178000 BTC/USDT candles in total from 2020-09-03T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "179000 BTC/USDT candles in total from 2020-09-02T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "180000 BTC/USDT candles in total from 2020-09-01T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "181000 BTC/USDT candles in total from 2020-08-31T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "182000 BTC/USDT candles in total from 2020-08-31T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "183000 BTC/USDT candles in total from 2020-08-30T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "184000 BTC/USDT candles in total from 2020-08-29T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "185000 BTC/USDT candles in total from 2020-08-29T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "186000 BTC/USDT candles in total from 2020-08-28T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "187000 BTC/USDT candles in total from 2020-08-27T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "188000 BTC/USDT candles in total from 2020-08-27T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "189000 BTC/USDT candles in total from 2020-08-26T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "190000 BTC/USDT candles in total from 2020-08-25T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "191000 BTC/USDT candles in total from 2020-08-25T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "192000 BTC/USDT candles in total from 2020-08-24T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "193000 BTC/USDT candles in total from 2020-08-23T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "194000 BTC/USDT candles in total from 2020-08-22T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "195000 BTC/USDT candles in total from 2020-08-22T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "196000 BTC/USDT candles in total from 2020-08-21T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "197000 BTC/USDT candles in total from 2020-08-20T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "198000 BTC/USDT candles in total from 2020-08-20T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "199000 BTC/USDT candles in total from 2020-08-19T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "200000 BTC/USDT candles in total from 2020-08-18T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "201000 BTC/USDT candles in total from 2020-08-18T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "202000 BTC/USDT candles in total from 2020-08-17T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "203000 BTC/USDT candles in total from 2020-08-16T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "204000 BTC/USDT candles in total from 2020-08-15T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "205000 BTC/USDT candles in total from 2020-08-15T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "206000 BTC/USDT candles in total from 2020-08-14T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "207000 BTC/USDT candles in total from 2020-08-13T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "208000 BTC/USDT candles in total from 2020-08-13T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "209000 BTC/USDT candles in total from 2020-08-12T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "210000 BTC/USDT candles in total from 2020-08-11T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "211000 BTC/USDT candles in total from 2020-08-11T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "212000 BTC/USDT candles in total from 2020-08-10T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "213000 BTC/USDT candles in total from 2020-08-09T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "214000 BTC/USDT candles in total from 2020-08-09T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "215000 BTC/USDT candles in total from 2020-08-08T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "216000 BTC/USDT candles in total from 2020-08-07T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "217000 BTC/USDT candles in total from 2020-08-06T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "218000 BTC/USDT candles in total from 2020-08-06T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "219000 BTC/USDT candles in total from 2020-08-05T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "220000 BTC/USDT candles in total from 2020-08-04T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "221000 BTC/USDT candles in total from 2020-08-04T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "222000 BTC/USDT candles in total from 2020-08-03T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "223000 BTC/USDT candles in total from 2020-08-02T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "224000 BTC/USDT candles in total from 2020-08-02T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "225000 BTC/USDT candles in total from 2020-08-01T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "226000 BTC/USDT candles in total from 2020-07-31T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "227000 BTC/USDT candles in total from 2020-07-31T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "228000 BTC/USDT candles in total from 2020-07-30T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "229000 BTC/USDT candles in total from 2020-07-29T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "230000 BTC/USDT candles in total from 2020-07-28T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "231000 BTC/USDT candles in total from 2020-07-28T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "232000 BTC/USDT candles in total from 2020-07-27T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "233000 BTC/USDT candles in total from 2020-07-26T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "234000 BTC/USDT candles in total from 2020-07-26T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "235000 BTC/USDT candles in total from 2020-07-25T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "236000 BTC/USDT candles in total from 2020-07-24T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "237000 BTC/USDT candles in total from 2020-07-24T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "238000 BTC/USDT candles in total from 2020-07-23T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "239000 BTC/USDT candles in total from 2020-07-22T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "240000 BTC/USDT candles in total from 2020-07-21T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "241000 BTC/USDT candles in total from 2020-07-21T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "242000 BTC/USDT candles in total from 2020-07-20T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "243000 BTC/USDT candles in total from 2020-07-19T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "244000 BTC/USDT candles in total from 2020-07-19T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "245000 BTC/USDT candles in total from 2020-07-18T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "246000 BTC/USDT candles in total from 2020-07-17T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "247000 BTC/USDT candles in total from 2020-07-17T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "248000 BTC/USDT candles in total from 2020-07-16T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "249000 BTC/USDT candles in total from 2020-07-15T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "250000 BTC/USDT candles in total from 2020-07-15T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "251000 BTC/USDT candles in total from 2020-07-14T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "252000 BTC/USDT candles in total from 2020-07-13T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "253000 BTC/USDT candles in total from 2020-07-12T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "254000 BTC/USDT candles in total from 2020-07-12T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "255000 BTC/USDT candles in total from 2020-07-11T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "256000 BTC/USDT candles in total from 2020-07-10T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "257000 BTC/USDT candles in total from 2020-07-10T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "258000 BTC/USDT candles in total from 2020-07-09T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "259000 BTC/USDT candles in total from 2020-07-08T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "260000 BTC/USDT candles in total from 2020-07-08T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "261000 BTC/USDT candles in total from 2020-07-07T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "262000 BTC/USDT candles in total from 2020-07-06T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "263000 BTC/USDT candles in total from 2020-07-06T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "264000 BTC/USDT candles in total from 2020-07-05T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "265000 BTC/USDT candles in total from 2020-07-04T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "266000 BTC/USDT candles in total from 2020-07-03T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "267000 BTC/USDT candles in total from 2020-07-03T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "268000 BTC/USDT candles in total from 2020-07-02T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "269000 BTC/USDT candles in total from 2020-07-01T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "270000 BTC/USDT candles in total from 2020-07-01T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "271000 BTC/USDT candles in total from 2020-06-30T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "272000 BTC/USDT candles in total from 2020-06-29T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "273000 BTC/USDT candles in total from 2020-06-29T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "274000 BTC/USDT candles in total from 2020-06-28T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "275000 BTC/USDT candles in total from 2020-06-27T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "276000 BTC/USDT candles in total from 2020-06-26T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "277000 BTC/USDT candles in total from 2020-06-26T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "278000 BTC/USDT candles in total from 2020-06-25T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "279000 BTC/USDT candles in total from 2020-06-24T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "280000 BTC/USDT candles in total from 2020-06-24T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "281000 BTC/USDT candles in total from 2020-06-23T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "282000 BTC/USDT candles in total from 2020-06-22T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "283000 BTC/USDT candles in total from 2020-06-22T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "284000 BTC/USDT candles in total from 2020-06-21T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "285000 BTC/USDT candles in total from 2020-06-20T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "286000 BTC/USDT candles in total from 2020-06-20T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "287000 BTC/USDT candles in total from 2020-06-19T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "288000 BTC/USDT candles in total from 2020-06-18T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "289000 BTC/USDT candles in total from 2020-06-17T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "290000 BTC/USDT candles in total from 2020-06-17T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "291000 BTC/USDT candles in total from 2020-06-16T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "292000 BTC/USDT candles in total from 2020-06-15T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "293000 BTC/USDT candles in total from 2020-06-15T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "294000 BTC/USDT candles in total from 2020-06-14T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "295000 BTC/USDT candles in total from 2020-06-13T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "296000 BTC/USDT candles in total from 2020-06-13T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "297000 BTC/USDT candles in total from 2020-06-12T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "298000 BTC/USDT candles in total from 2020-06-11T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "299000 BTC/USDT candles in total from 2020-06-11T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "300000 BTC/USDT candles in total from 2020-06-10T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "301000 BTC/USDT candles in total from 2020-06-09T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "302000 BTC/USDT candles in total from 2020-06-08T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "303000 BTC/USDT candles in total from 2020-06-08T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "304000 BTC/USDT candles in total from 2020-06-07T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "305000 BTC/USDT candles in total from 2020-06-06T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "306000 BTC/USDT candles in total from 2020-06-06T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "307000 BTC/USDT candles in total from 2020-06-05T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "308000 BTC/USDT candles in total from 2020-06-04T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "309000 BTC/USDT candles in total from 2020-06-04T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "310000 BTC/USDT candles in total from 2020-06-03T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "311000 BTC/USDT candles in total from 2020-06-02T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "312000 BTC/USDT candles in total from 2020-06-01T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "313000 BTC/USDT candles in total from 2020-06-01T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "314000 BTC/USDT candles in total from 2020-05-31T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "315000 BTC/USDT candles in total from 2020-05-30T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "316000 BTC/USDT candles in total from 2020-05-30T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "317000 BTC/USDT candles in total from 2020-05-29T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "318000 BTC/USDT candles in total from 2020-05-28T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "319000 BTC/USDT candles in total from 2020-05-28T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "320000 BTC/USDT candles in total from 2020-05-27T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "321000 BTC/USDT candles in total from 2020-05-26T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "322000 BTC/USDT candles in total from 2020-05-26T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "323000 BTC/USDT candles in total from 2020-05-25T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "324000 BTC/USDT candles in total from 2020-05-24T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "325000 BTC/USDT candles in total from 2020-05-23T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "326000 BTC/USDT candles in total from 2020-05-23T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "327000 BTC/USDT candles in total from 2020-05-22T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "328000 BTC/USDT candles in total from 2020-05-21T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "329000 BTC/USDT candles in total from 2020-05-21T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "330000 BTC/USDT candles in total from 2020-05-20T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "331000 BTC/USDT candles in total from 2020-05-19T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "332000 BTC/USDT candles in total from 2020-05-19T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "333000 BTC/USDT candles in total from 2020-05-18T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "334000 BTC/USDT candles in total from 2020-05-17T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "335000 BTC/USDT candles in total from 2020-05-17T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "336000 BTC/USDT candles in total from 2020-05-16T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "337000 BTC/USDT candles in total from 2020-05-15T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "338000 BTC/USDT candles in total from 2020-05-14T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "339000 BTC/USDT candles in total from 2020-05-14T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "340000 BTC/USDT candles in total from 2020-05-13T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "341000 BTC/USDT candles in total from 2020-05-12T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "342000 BTC/USDT candles in total from 2020-05-12T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "343000 BTC/USDT candles in total from 2020-05-11T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "344000 BTC/USDT candles in total from 2020-05-10T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "345000 BTC/USDT candles in total from 2020-05-10T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "346000 BTC/USDT candles in total from 2020-05-09T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "347000 BTC/USDT candles in total from 2020-05-08T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "348000 BTC/USDT candles in total from 2020-05-07T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "349000 BTC/USDT candles in total from 2020-05-07T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "350000 BTC/USDT candles in total from 2020-05-06T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "351000 BTC/USDT candles in total from 2020-05-05T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "352000 BTC/USDT candles in total from 2020-05-05T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "353000 BTC/USDT candles in total from 2020-05-04T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "354000 BTC/USDT candles in total from 2020-05-03T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "355000 BTC/USDT candles in total from 2020-05-03T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "356000 BTC/USDT candles in total from 2020-05-02T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "357000 BTC/USDT candles in total from 2020-05-01T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "358000 BTC/USDT candles in total from 2020-05-01T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "359000 BTC/USDT candles in total from 2020-04-30T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "360000 BTC/USDT candles in total from 2020-04-29T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "361000 BTC/USDT candles in total from 2020-04-28T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "362000 BTC/USDT candles in total from 2020-04-28T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "363000 BTC/USDT candles in total from 2020-04-27T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "364000 BTC/USDT candles in total from 2020-04-26T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "365000 BTC/USDT candles in total from 2020-04-26T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "366000 BTC/USDT candles in total from 2020-04-25T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "367000 BTC/USDT candles in total from 2020-04-24T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "368000 BTC/USDT candles in total from 2020-04-24T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "369000 BTC/USDT candles in total from 2020-04-23T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "370000 BTC/USDT candles in total from 2020-04-22T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "371000 BTC/USDT candles in total from 2020-04-22T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "372000 BTC/USDT candles in total from 2020-04-21T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "373000 BTC/USDT candles in total from 2020-04-20T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "374000 BTC/USDT candles in total from 2020-04-19T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "375000 BTC/USDT candles in total from 2020-04-19T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "376000 BTC/USDT candles in total from 2020-04-18T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "377000 BTC/USDT candles in total from 2020-04-17T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "378000 BTC/USDT candles in total from 2020-04-17T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "379000 BTC/USDT candles in total from 2020-04-16T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "380000 BTC/USDT candles in total from 2020-04-15T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "381000 BTC/USDT candles in total from 2020-04-15T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "382000 BTC/USDT candles in total from 2020-04-14T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "383000 BTC/USDT candles in total from 2020-04-13T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "384000 BTC/USDT candles in total from 2020-04-12T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "385000 BTC/USDT candles in total from 2020-04-12T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "386000 BTC/USDT candles in total from 2020-04-11T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "387000 BTC/USDT candles in total from 2020-04-10T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "388000 BTC/USDT candles in total from 2020-04-10T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "389000 BTC/USDT candles in total from 2020-04-09T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "390000 BTC/USDT candles in total from 2020-04-08T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "391000 BTC/USDT candles in total from 2020-04-08T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "392000 BTC/USDT candles in total from 2020-04-07T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "393000 BTC/USDT candles in total from 2020-04-06T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "394000 BTC/USDT candles in total from 2020-04-06T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "395000 BTC/USDT candles in total from 2020-04-05T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "396000 BTC/USDT candles in total from 2020-04-04T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "397000 BTC/USDT candles in total from 2020-04-03T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "398000 BTC/USDT candles in total from 2020-04-03T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "399000 BTC/USDT candles in total from 2020-04-02T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "400000 BTC/USDT candles in total from 2020-04-01T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "401000 BTC/USDT candles in total from 2020-04-01T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "402000 BTC/USDT candles in total from 2020-03-31T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "403000 BTC/USDT candles in total from 2020-03-30T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "404000 BTC/USDT candles in total from 2020-03-30T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "405000 BTC/USDT candles in total from 2020-03-29T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "406000 BTC/USDT candles in total from 2020-03-28T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "407000 BTC/USDT candles in total from 2020-03-28T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "408000 BTC/USDT candles in total from 2020-03-27T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "409000 BTC/USDT candles in total from 2020-03-26T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "410000 BTC/USDT candles in total from 2020-03-25T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "411000 BTC/USDT candles in total from 2020-03-25T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "412000 BTC/USDT candles in total from 2020-03-24T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "413000 BTC/USDT candles in total from 2020-03-23T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "414000 BTC/USDT candles in total from 2020-03-23T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "415000 BTC/USDT candles in total from 2020-03-22T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "416000 BTC/USDT candles in total from 2020-03-21T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "417000 BTC/USDT candles in total from 2020-03-21T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "418000 BTC/USDT candles in total from 2020-03-20T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "419000 BTC/USDT candles in total from 2020-03-19T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "420000 BTC/USDT candles in total from 2020-03-18T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "421000 BTC/USDT candles in total from 2020-03-18T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "422000 BTC/USDT candles in total from 2020-03-17T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "423000 BTC/USDT candles in total from 2020-03-16T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "424000 BTC/USDT candles in total from 2020-03-16T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "425000 BTC/USDT candles in total from 2020-03-15T12:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "426000 BTC/USDT candles in total from 2020-03-14T19:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "427000 BTC/USDT candles in total from 2020-03-14T02:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "428000 BTC/USDT candles in total from 2020-03-13T10:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "429000 BTC/USDT candles in total from 2020-03-12T17:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "430000 BTC/USDT candles in total from 2020-03-12T00:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "431000 BTC/USDT candles in total from 2020-03-11T08:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "432000 BTC/USDT candles in total from 2020-03-10T15:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "433000 BTC/USDT candles in total from 2020-03-09T22:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "434000 BTC/USDT candles in total from 2020-03-09T06:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "435000 BTC/USDT candles in total from 2020-03-08T13:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "436000 BTC/USDT candles in total from 2020-03-07T20:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "437000 BTC/USDT candles in total from 2020-03-07T04:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "438000 BTC/USDT candles in total from 2020-03-06T11:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "439000 BTC/USDT candles in total from 2020-03-05T18:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "440000 BTC/USDT candles in total from 2020-03-05T02:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "441000 BTC/USDT candles in total from 2020-03-04T09:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "442000 BTC/USDT candles in total from 2020-03-03T16:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "443000 BTC/USDT candles in total from 2020-03-03T00:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "444000 BTC/USDT candles in total from 2020-03-02T07:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "445000 BTC/USDT candles in total from 2020-03-01T14:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "446000 BTC/USDT candles in total from 2020-02-29T22:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "447000 BTC/USDT candles in total from 2020-02-29T05:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "448000 BTC/USDT candles in total from 2020-02-28T12:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "449000 BTC/USDT candles in total from 2020-02-27T20:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "450000 BTC/USDT candles in total from 2020-02-27T03:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "451000 BTC/USDT candles in total from 2020-02-26T10:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "452000 BTC/USDT candles in total from 2020-02-25T18:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "453000 BTC/USDT candles in total from 2020-02-25T01:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "454000 BTC/USDT candles in total from 2020-02-24T08:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "455000 BTC/USDT candles in total from 2020-02-23T16:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "456000 BTC/USDT candles in total from 2020-02-22T23:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "457000 BTC/USDT candles in total from 2020-02-22T06:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "458000 BTC/USDT candles in total from 2020-02-21T14:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "459000 BTC/USDT candles in total from 2020-02-20T21:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "460000 BTC/USDT candles in total from 2020-02-20T04:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "461000 BTC/USDT candles in total from 2020-02-19T17:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "462000 BTC/USDT candles in total from 2020-02-19T00:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "463000 BTC/USDT candles in total from 2020-02-18T08:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "464000 BTC/USDT candles in total from 2020-02-17T15:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "465000 BTC/USDT candles in total from 2020-02-16T22:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "466000 BTC/USDT candles in total from 2020-02-16T06:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "467000 BTC/USDT candles in total from 2020-02-15T13:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "468000 BTC/USDT candles in total from 2020-02-14T20:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "469000 BTC/USDT candles in total from 2020-02-14T04:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "470000 BTC/USDT candles in total from 2020-02-13T11:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "471000 BTC/USDT candles in total from 2020-02-12T18:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "472000 BTC/USDT candles in total from 2020-02-12T02:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "473000 BTC/USDT candles in total from 2020-02-11T09:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "474000 BTC/USDT candles in total from 2020-02-10T16:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "475000 BTC/USDT candles in total from 2020-02-10T00:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "476000 BTC/USDT candles in total from 2020-02-09T07:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "477000 BTC/USDT candles in total from 2020-02-08T14:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "478000 BTC/USDT candles in total from 2020-02-07T22:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "479000 BTC/USDT candles in total from 2020-02-07T05:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "480000 BTC/USDT candles in total from 2020-02-06T12:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "481000 BTC/USDT candles in total from 2020-02-05T20:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "482000 BTC/USDT candles in total from 2020-02-05T03:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "483000 BTC/USDT candles in total from 2020-02-04T10:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "484000 BTC/USDT candles in total from 2020-02-03T18:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "485000 BTC/USDT candles in total from 2020-02-03T01:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "486000 BTC/USDT candles in total from 2020-02-02T08:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "487000 BTC/USDT candles in total from 2020-02-01T16:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "488000 BTC/USDT candles in total from 2020-01-31T23:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "489000 BTC/USDT candles in total from 2020-01-31T06:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "490000 BTC/USDT candles in total from 2020-01-30T14:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "491000 BTC/USDT candles in total from 2020-01-29T21:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "492000 BTC/USDT candles in total from 2020-01-29T04:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "493000 BTC/USDT candles in total from 2020-01-28T12:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "494000 BTC/USDT candles in total from 2020-01-27T19:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "495000 BTC/USDT candles in total from 2020-01-27T02:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "496000 BTC/USDT candles in total from 2020-01-26T10:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "497000 BTC/USDT candles in total from 2020-01-25T17:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "498000 BTC/USDT candles in total from 2020-01-25T00:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "499000 BTC/USDT candles in total from 2020-01-24T08:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "500000 BTC/USDT candles in total from 2020-01-23T15:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "501000 BTC/USDT candles in total from 2020-01-22T22:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "502000 BTC/USDT candles in total from 2020-01-22T06:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "503000 BTC/USDT candles in total from 2020-01-21T13:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "504000 BTC/USDT candles in total from 2020-01-20T20:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "505000 BTC/USDT candles in total from 2020-01-20T04:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "506000 BTC/USDT candles in total from 2020-01-19T11:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "507000 BTC/USDT candles in total from 2020-01-18T18:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "508000 BTC/USDT candles in total from 2020-01-18T02:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "509000 BTC/USDT candles in total from 2020-01-17T09:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "510000 BTC/USDT candles in total from 2020-01-16T16:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "511000 BTC/USDT candles in total from 2020-01-16T00:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "512000 BTC/USDT candles in total from 2020-01-15T07:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "513000 BTC/USDT candles in total from 2020-01-14T14:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "514000 BTC/USDT candles in total from 2020-01-13T22:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "515000 BTC/USDT candles in total from 2020-01-13T05:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "516000 BTC/USDT candles in total from 2020-01-12T12:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "517000 BTC/USDT candles in total from 2020-01-11T20:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "518000 BTC/USDT candles in total from 2020-01-11T03:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "519000 BTC/USDT candles in total from 2020-01-10T10:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "520000 BTC/USDT candles in total from 2020-01-09T18:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "521000 BTC/USDT candles in total from 2020-01-09T01:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "522000 BTC/USDT candles in total from 2020-01-08T08:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "523000 BTC/USDT candles in total from 2020-01-07T16:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "524000 BTC/USDT candles in total from 2020-01-06T23:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "525000 BTC/USDT candles in total from 2020-01-06T06:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "526000 BTC/USDT candles in total from 2020-01-05T14:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "527000 BTC/USDT candles in total from 2020-01-04T21:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "528000 BTC/USDT candles in total from 2020-01-04T04:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "529000 BTC/USDT candles in total from 2020-01-03T12:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "530000 BTC/USDT candles in total from 2020-01-02T19:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "531000 BTC/USDT candles in total from 2020-01-02T02:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "532000 BTC/USDT candles in total from 2020-01-01T10:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "533000 BTC/USDT candles in total from 2019-12-31T17:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "534000 BTC/USDT candles in total from 2019-12-31T00:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "535000 BTC/USDT candles in total from 2019-12-30T08:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "536000 BTC/USDT candles in total from 2019-12-29T15:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "537000 BTC/USDT candles in total from 2019-12-28T22:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "538000 BTC/USDT candles in total from 2019-12-28T06:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "539000 BTC/USDT candles in total from 2019-12-27T13:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "540000 BTC/USDT candles in total from 2019-12-26T20:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "541000 BTC/USDT candles in total from 2019-12-26T04:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "542000 BTC/USDT candles in total from 2019-12-25T11:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "543000 BTC/USDT candles in total from 2019-12-24T18:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "544000 BTC/USDT candles in total from 2019-12-24T02:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "545000 BTC/USDT candles in total from 2019-12-23T09:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "546000 BTC/USDT candles in total from 2019-12-22T16:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "547000 BTC/USDT candles in total from 2019-12-22T00:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "548000 BTC/USDT candles in total from 2019-12-21T07:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "549000 BTC/USDT candles in total from 2019-12-20T14:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "550000 BTC/USDT candles in total from 2019-12-19T22:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "551000 BTC/USDT candles in total from 2019-12-19T05:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "552000 BTC/USDT candles in total from 2019-12-18T12:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "553000 BTC/USDT candles in total from 2019-12-17T20:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "554000 BTC/USDT candles in total from 2019-12-17T03:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "555000 BTC/USDT candles in total from 2019-12-16T10:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "556000 BTC/USDT candles in total from 2019-12-15T18:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "557000 BTC/USDT candles in total from 2019-12-15T01:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "558000 BTC/USDT candles in total from 2019-12-14T08:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "559000 BTC/USDT candles in total from 2019-12-13T16:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "560000 BTC/USDT candles in total from 2019-12-12T23:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "561000 BTC/USDT candles in total from 2019-12-12T06:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "562000 BTC/USDT candles in total from 2019-12-11T14:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "563000 BTC/USDT candles in total from 2019-12-10T21:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "564000 BTC/USDT candles in total from 2019-12-10T04:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "565000 BTC/USDT candles in total from 2019-12-09T12:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "566000 BTC/USDT candles in total from 2019-12-08T19:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "567000 BTC/USDT candles in total from 2019-12-08T02:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "568000 BTC/USDT candles in total from 2019-12-07T10:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "569000 BTC/USDT candles in total from 2019-12-06T17:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "570000 BTC/USDT candles in total from 2019-12-06T00:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "571000 BTC/USDT candles in total from 2019-12-05T08:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "572000 BTC/USDT candles in total from 2019-12-04T15:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "573000 BTC/USDT candles in total from 2019-12-03T22:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "574000 BTC/USDT candles in total from 2019-12-03T06:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "575000 BTC/USDT candles in total from 2019-12-02T13:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "576000 BTC/USDT candles in total from 2019-12-01T20:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "577000 BTC/USDT candles in total from 2019-12-01T04:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "578000 BTC/USDT candles in total from 2019-11-30T11:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "579000 BTC/USDT candles in total from 2019-11-29T18:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "580000 BTC/USDT candles in total from 2019-11-29T02:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "581000 BTC/USDT candles in total from 2019-11-28T09:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "582000 BTC/USDT candles in total from 2019-11-27T16:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "583000 BTC/USDT candles in total from 2019-11-27T00:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "584000 BTC/USDT candles in total from 2019-11-26T07:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "585000 BTC/USDT candles in total from 2019-11-25T14:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "586000 BTC/USDT candles in total from 2019-11-24T22:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "587000 BTC/USDT candles in total from 2019-11-24T05:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "588000 BTC/USDT candles in total from 2019-11-23T12:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "589000 BTC/USDT candles in total from 2019-11-22T20:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "590000 BTC/USDT candles in total from 2019-11-22T03:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "591000 BTC/USDT candles in total from 2019-11-21T10:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "592000 BTC/USDT candles in total from 2019-11-20T18:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "593000 BTC/USDT candles in total from 2019-11-20T01:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "594000 BTC/USDT candles in total from 2019-11-19T08:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "595000 BTC/USDT candles in total from 2019-11-18T16:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "596000 BTC/USDT candles in total from 2019-11-17T23:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "597000 BTC/USDT candles in total from 2019-11-17T06:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "598000 BTC/USDT candles in total from 2019-11-16T14:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "599000 BTC/USDT candles in total from 2019-11-15T21:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "600000 BTC/USDT candles in total from 2019-11-15T04:50:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "601000 BTC/USDT candles in total from 2019-11-14T12:10:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "602000 BTC/USDT candles in total from 2019-11-13T19:30:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "603000 BTC/USDT candles in total from 2019-11-13T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "604000 BTC/USDT candles in total from 2019-11-12T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "605000 BTC/USDT candles in total from 2019-11-11T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "606000 BTC/USDT candles in total from 2019-11-11T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "607000 BTC/USDT candles in total from 2019-11-10T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "608000 BTC/USDT candles in total from 2019-11-09T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "609000 BTC/USDT candles in total from 2019-11-09T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "610000 BTC/USDT candles in total from 2019-11-08T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "611000 BTC/USDT candles in total from 2019-11-07T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "612000 BTC/USDT candles in total from 2019-11-06T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "613000 BTC/USDT candles in total from 2019-11-06T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "614000 BTC/USDT candles in total from 2019-11-05T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "615000 BTC/USDT candles in total from 2019-11-04T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "616000 BTC/USDT candles in total from 2019-11-04T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "617000 BTC/USDT candles in total from 2019-11-03T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "618000 BTC/USDT candles in total from 2019-11-02T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "619000 BTC/USDT candles in total from 2019-11-02T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "620000 BTC/USDT candles in total from 2019-11-01T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "621000 BTC/USDT candles in total from 2019-10-31T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "622000 BTC/USDT candles in total from 2019-10-30T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "623000 BTC/USDT candles in total from 2019-10-30T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "624000 BTC/USDT candles in total from 2019-10-29T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "625000 BTC/USDT candles in total from 2019-10-28T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "626000 BTC/USDT candles in total from 2019-10-28T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "627000 BTC/USDT candles in total from 2019-10-27T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "628000 BTC/USDT candles in total from 2019-10-26T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "629000 BTC/USDT candles in total from 2019-10-26T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "630000 BTC/USDT candles in total from 2019-10-25T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "631000 BTC/USDT candles in total from 2019-10-24T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "632000 BTC/USDT candles in total from 2019-10-24T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "633000 BTC/USDT candles in total from 2019-10-23T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "634000 BTC/USDT candles in total from 2019-10-22T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "635000 BTC/USDT candles in total from 2019-10-21T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "636000 BTC/USDT candles in total from 2019-10-21T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "637000 BTC/USDT candles in total from 2019-10-20T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "638000 BTC/USDT candles in total from 2019-10-19T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "639000 BTC/USDT candles in total from 2019-10-19T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "640000 BTC/USDT candles in total from 2019-10-18T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "641000 BTC/USDT candles in total from 2019-10-17T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "642000 BTC/USDT candles in total from 2019-10-17T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "643000 BTC/USDT candles in total from 2019-10-16T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "644000 BTC/USDT candles in total from 2019-10-15T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "645000 BTC/USDT candles in total from 2019-10-15T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "646000 BTC/USDT candles in total from 2019-10-14T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "647000 BTC/USDT candles in total from 2019-10-13T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "648000 BTC/USDT candles in total from 2019-10-12T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "649000 BTC/USDT candles in total from 2019-10-12T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "650000 BTC/USDT candles in total from 2019-10-11T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "651000 BTC/USDT candles in total from 2019-10-10T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "652000 BTC/USDT candles in total from 2019-10-10T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "653000 BTC/USDT candles in total from 2019-10-09T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "654000 BTC/USDT candles in total from 2019-10-08T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "655000 BTC/USDT candles in total from 2019-10-08T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "656000 BTC/USDT candles in total from 2019-10-07T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "657000 BTC/USDT candles in total from 2019-10-06T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "658000 BTC/USDT candles in total from 2019-10-05T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "659000 BTC/USDT candles in total from 2019-10-05T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "660000 BTC/USDT candles in total from 2019-10-04T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "661000 BTC/USDT candles in total from 2019-10-03T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "662000 BTC/USDT candles in total from 2019-10-03T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "663000 BTC/USDT candles in total from 2019-10-02T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "664000 BTC/USDT candles in total from 2019-10-01T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "665000 BTC/USDT candles in total from 2019-10-01T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "666000 BTC/USDT candles in total from 2019-09-30T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "667000 BTC/USDT candles in total from 2019-09-29T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "668000 BTC/USDT candles in total from 2019-09-29T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "669000 BTC/USDT candles in total from 2019-09-28T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "670000 BTC/USDT candles in total from 2019-09-27T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "671000 BTC/USDT candles in total from 2019-09-26T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "672000 BTC/USDT candles in total from 2019-09-26T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "673000 BTC/USDT candles in total from 2019-09-25T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "674000 BTC/USDT candles in total from 2019-09-24T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "675000 BTC/USDT candles in total from 2019-09-24T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "676000 BTC/USDT candles in total from 2019-09-23T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "677000 BTC/USDT candles in total from 2019-09-22T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "678000 BTC/USDT candles in total from 2019-09-22T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "679000 BTC/USDT candles in total from 2019-09-21T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "680000 BTC/USDT candles in total from 2019-09-20T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "681000 BTC/USDT candles in total from 2019-09-20T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "682000 BTC/USDT candles in total from 2019-09-19T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "683000 BTC/USDT candles in total from 2019-09-18T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "684000 BTC/USDT candles in total from 2019-09-17T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "685000 BTC/USDT candles in total from 2019-09-17T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "686000 BTC/USDT candles in total from 2019-09-16T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "687000 BTC/USDT candles in total from 2019-09-15T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "688000 BTC/USDT candles in total from 2019-09-15T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "689000 BTC/USDT candles in total from 2019-09-14T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "690000 BTC/USDT candles in total from 2019-09-13T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "691000 BTC/USDT candles in total from 2019-09-13T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "692000 BTC/USDT candles in total from 2019-09-12T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "693000 BTC/USDT candles in total from 2019-09-11T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "694000 BTC/USDT candles in total from 2019-09-10T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "695000 BTC/USDT candles in total from 2019-09-10T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "696000 BTC/USDT candles in total from 2019-09-09T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "697000 BTC/USDT candles in total from 2019-09-08T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "698000 BTC/USDT candles in total from 2019-09-08T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "699000 BTC/USDT candles in total from 2019-09-07T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "700000 BTC/USDT candles in total from 2019-09-06T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "701000 BTC/USDT candles in total from 2019-09-06T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "702000 BTC/USDT candles in total from 2019-09-05T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "703000 BTC/USDT candles in total from 2019-09-04T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "704000 BTC/USDT candles in total from 2019-09-04T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "705000 BTC/USDT candles in total from 2019-09-03T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "706000 BTC/USDT candles in total from 2019-09-02T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "707000 BTC/USDT candles in total from 2019-09-01T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "708000 BTC/USDT candles in total from 2019-09-01T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "709000 BTC/USDT candles in total from 2019-08-31T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "710000 BTC/USDT candles in total from 2019-08-30T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "711000 BTC/USDT candles in total from 2019-08-30T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "712000 BTC/USDT candles in total from 2019-08-29T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "713000 BTC/USDT candles in total from 2019-08-28T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "714000 BTC/USDT candles in total from 2019-08-28T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "715000 BTC/USDT candles in total from 2019-08-27T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "716000 BTC/USDT candles in total from 2019-08-26T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "717000 BTC/USDT candles in total from 2019-08-26T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "718000 BTC/USDT candles in total from 2019-08-25T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "719000 BTC/USDT candles in total from 2019-08-24T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "720000 BTC/USDT candles in total from 2019-08-23T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "721000 BTC/USDT candles in total from 2019-08-23T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "722000 BTC/USDT candles in total from 2019-08-22T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "723000 BTC/USDT candles in total from 2019-08-21T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "724000 BTC/USDT candles in total from 2019-08-21T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "725000 BTC/USDT candles in total from 2019-08-20T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "726000 BTC/USDT candles in total from 2019-08-19T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "727000 BTC/USDT candles in total from 2019-08-19T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "728000 BTC/USDT candles in total from 2019-08-18T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "729000 BTC/USDT candles in total from 2019-08-17T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "730000 BTC/USDT candles in total from 2019-08-16T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "731000 BTC/USDT candles in total from 2019-08-16T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "732000 BTC/USDT candles in total from 2019-08-15T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "733000 BTC/USDT candles in total from 2019-08-14T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "734000 BTC/USDT candles in total from 2019-08-14T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "735000 BTC/USDT candles in total from 2019-08-13T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "736000 BTC/USDT candles in total from 2019-08-12T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "737000 BTC/USDT candles in total from 2019-08-12T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "738000 BTC/USDT candles in total from 2019-08-11T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "739000 BTC/USDT candles in total from 2019-08-10T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "740000 BTC/USDT candles in total from 2019-08-10T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "741000 BTC/USDT candles in total from 2019-08-09T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "742000 BTC/USDT candles in total from 2019-08-08T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "743000 BTC/USDT candles in total from 2019-08-07T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "744000 BTC/USDT candles in total from 2019-08-07T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "745000 BTC/USDT candles in total from 2019-08-06T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "746000 BTC/USDT candles in total from 2019-08-05T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "747000 BTC/USDT candles in total from 2019-08-05T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "748000 BTC/USDT candles in total from 2019-08-04T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "749000 BTC/USDT candles in total from 2019-08-03T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "750000 BTC/USDT candles in total from 2019-08-03T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "751000 BTC/USDT candles in total from 2019-08-02T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "752000 BTC/USDT candles in total from 2019-08-01T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "753000 BTC/USDT candles in total from 2019-08-01T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "754000 BTC/USDT candles in total from 2019-07-31T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "755000 BTC/USDT candles in total from 2019-07-30T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "756000 BTC/USDT candles in total from 2019-07-29T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "757000 BTC/USDT candles in total from 2019-07-29T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "758000 BTC/USDT candles in total from 2019-07-28T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "759000 BTC/USDT candles in total from 2019-07-27T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "760000 BTC/USDT candles in total from 2019-07-27T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "761000 BTC/USDT candles in total from 2019-07-26T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "762000 BTC/USDT candles in total from 2019-07-25T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "763000 BTC/USDT candles in total from 2019-07-25T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "764000 BTC/USDT candles in total from 2019-07-24T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "765000 BTC/USDT candles in total from 2019-07-23T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "766000 BTC/USDT candles in total from 2019-07-22T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "767000 BTC/USDT candles in total from 2019-07-22T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "768000 BTC/USDT candles in total from 2019-07-21T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "769000 BTC/USDT candles in total from 2019-07-20T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "770000 BTC/USDT candles in total from 2019-07-20T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "771000 BTC/USDT candles in total from 2019-07-19T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "772000 BTC/USDT candles in total from 2019-07-18T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "773000 BTC/USDT candles in total from 2019-07-18T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "774000 BTC/USDT candles in total from 2019-07-17T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "775000 BTC/USDT candles in total from 2019-07-16T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "776000 BTC/USDT candles in total from 2019-07-16T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "777000 BTC/USDT candles in total from 2019-07-15T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "778000 BTC/USDT candles in total from 2019-07-14T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "779000 BTC/USDT candles in total from 2019-07-13T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "780000 BTC/USDT candles in total from 2019-07-13T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "781000 BTC/USDT candles in total from 2019-07-12T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "782000 BTC/USDT candles in total from 2019-07-11T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "783000 BTC/USDT candles in total from 2019-07-11T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "784000 BTC/USDT candles in total from 2019-07-10T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "785000 BTC/USDT candles in total from 2019-07-09T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "786000 BTC/USDT candles in total from 2019-07-09T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "787000 BTC/USDT candles in total from 2019-07-08T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "788000 BTC/USDT candles in total from 2019-07-07T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "789000 BTC/USDT candles in total from 2019-07-07T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "790000 BTC/USDT candles in total from 2019-07-06T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "791000 BTC/USDT candles in total from 2019-07-05T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "792000 BTC/USDT candles in total from 2019-07-04T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "793000 BTC/USDT candles in total from 2019-07-04T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "794000 BTC/USDT candles in total from 2019-07-03T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "795000 BTC/USDT candles in total from 2019-07-02T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "796000 BTC/USDT candles in total from 2019-07-02T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "797000 BTC/USDT candles in total from 2019-07-01T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "798000 BTC/USDT candles in total from 2019-06-30T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "799000 BTC/USDT candles in total from 2019-06-30T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "800000 BTC/USDT candles in total from 2019-06-29T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "801000 BTC/USDT candles in total from 2019-06-28T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "802000 BTC/USDT candles in total from 2019-06-27T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "803000 BTC/USDT candles in total from 2019-06-27T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "804000 BTC/USDT candles in total from 2019-06-26T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "805000 BTC/USDT candles in total from 2019-06-25T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "806000 BTC/USDT candles in total from 2019-06-25T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "807000 BTC/USDT candles in total from 2019-06-24T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "808000 BTC/USDT candles in total from 2019-06-23T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "809000 BTC/USDT candles in total from 2019-06-23T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "810000 BTC/USDT candles in total from 2019-06-22T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "811000 BTC/USDT candles in total from 2019-06-21T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "812000 BTC/USDT candles in total from 2019-06-21T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "813000 BTC/USDT candles in total from 2019-06-20T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "814000 BTC/USDT candles in total from 2019-06-19T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "815000 BTC/USDT candles in total from 2019-06-18T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "816000 BTC/USDT candles in total from 2019-06-18T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "817000 BTC/USDT candles in total from 2019-06-17T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "818000 BTC/USDT candles in total from 2019-06-16T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "819000 BTC/USDT candles in total from 2019-06-16T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "820000 BTC/USDT candles in total from 2019-06-15T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "821000 BTC/USDT candles in total from 2019-06-14T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "822000 BTC/USDT candles in total from 2019-06-14T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "823000 BTC/USDT candles in total from 2019-06-13T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "824000 BTC/USDT candles in total from 2019-06-12T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "825000 BTC/USDT candles in total from 2019-06-12T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "826000 BTC/USDT candles in total from 2019-06-11T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "827000 BTC/USDT candles in total from 2019-06-10T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "828000 BTC/USDT candles in total from 2019-06-09T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "829000 BTC/USDT candles in total from 2019-06-09T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "830000 BTC/USDT candles in total from 2019-06-08T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "831000 BTC/USDT candles in total from 2019-06-07T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "832000 BTC/USDT candles in total from 2019-06-07T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "833000 BTC/USDT candles in total from 2019-06-06T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "834000 BTC/USDT candles in total from 2019-06-05T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "835000 BTC/USDT candles in total from 2019-06-05T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "836000 BTC/USDT candles in total from 2019-06-04T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "837000 BTC/USDT candles in total from 2019-06-03T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "838000 BTC/USDT candles in total from 2019-06-02T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "839000 BTC/USDT candles in total from 2019-06-02T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "840000 BTC/USDT candles in total from 2019-06-01T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "841000 BTC/USDT candles in total from 2019-05-31T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "842000 BTC/USDT candles in total from 2019-05-31T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "843000 BTC/USDT candles in total from 2019-05-30T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "844000 BTC/USDT candles in total from 2019-05-29T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "845000 BTC/USDT candles in total from 2019-05-29T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "846000 BTC/USDT candles in total from 2019-05-28T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "847000 BTC/USDT candles in total from 2019-05-27T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "848000 BTC/USDT candles in total from 2019-05-27T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "849000 BTC/USDT candles in total from 2019-05-26T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "850000 BTC/USDT candles in total from 2019-05-25T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "851000 BTC/USDT candles in total from 2019-05-24T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "852000 BTC/USDT candles in total from 2019-05-24T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "853000 BTC/USDT candles in total from 2019-05-23T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "854000 BTC/USDT candles in total from 2019-05-22T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "855000 BTC/USDT candles in total from 2019-05-22T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "856000 BTC/USDT candles in total from 2019-05-21T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "857000 BTC/USDT candles in total from 2019-05-20T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "858000 BTC/USDT candles in total from 2019-05-20T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "859000 BTC/USDT candles in total from 2019-05-19T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "860000 BTC/USDT candles in total from 2019-05-18T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "861000 BTC/USDT candles in total from 2019-05-18T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "862000 BTC/USDT candles in total from 2019-05-17T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "863000 BTC/USDT candles in total from 2019-05-16T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "864000 BTC/USDT candles in total from 2019-05-15T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "865000 BTC/USDT candles in total from 2019-05-15T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "866000 BTC/USDT candles in total from 2019-05-14T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "867000 BTC/USDT candles in total from 2019-05-14T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "868000 BTC/USDT candles in total from 2019-05-13T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "869000 BTC/USDT candles in total from 2019-05-12T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "870000 BTC/USDT candles in total from 2019-05-12T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "871000 BTC/USDT candles in total from 2019-05-11T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "872000 BTC/USDT candles in total from 2019-05-10T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "873000 BTC/USDT candles in total from 2019-05-09T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "874000 BTC/USDT candles in total from 2019-05-09T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "875000 BTC/USDT candles in total from 2019-05-08T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "876000 BTC/USDT candles in total from 2019-05-07T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "877000 BTC/USDT candles in total from 2019-05-07T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "878000 BTC/USDT candles in total from 2019-05-06T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "879000 BTC/USDT candles in total from 2019-05-05T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "880000 BTC/USDT candles in total from 2019-05-05T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "881000 BTC/USDT candles in total from 2019-05-04T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "882000 BTC/USDT candles in total from 2019-05-03T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "883000 BTC/USDT candles in total from 2019-05-03T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "884000 BTC/USDT candles in total from 2019-05-02T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "885000 BTC/USDT candles in total from 2019-05-01T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "886000 BTC/USDT candles in total from 2019-04-30T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "887000 BTC/USDT candles in total from 2019-04-30T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "888000 BTC/USDT candles in total from 2019-04-29T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "889000 BTC/USDT candles in total from 2019-04-28T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "890000 BTC/USDT candles in total from 2019-04-28T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "891000 BTC/USDT candles in total from 2019-04-27T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "892000 BTC/USDT candles in total from 2019-04-26T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "893000 BTC/USDT candles in total from 2019-04-26T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "894000 BTC/USDT candles in total from 2019-04-25T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "895000 BTC/USDT candles in total from 2019-04-24T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "896000 BTC/USDT candles in total from 2019-04-24T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "897000 BTC/USDT candles in total from 2019-04-23T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "898000 BTC/USDT candles in total from 2019-04-22T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "899000 BTC/USDT candles in total from 2019-04-21T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "900000 BTC/USDT candles in total from 2019-04-21T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "901000 BTC/USDT candles in total from 2019-04-20T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "902000 BTC/USDT candles in total from 2019-04-19T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "903000 BTC/USDT candles in total from 2019-04-19T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "904000 BTC/USDT candles in total from 2019-04-18T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "905000 BTC/USDT candles in total from 2019-04-17T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "906000 BTC/USDT candles in total from 2019-04-17T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "907000 BTC/USDT candles in total from 2019-04-16T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "908000 BTC/USDT candles in total from 2019-04-15T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "909000 BTC/USDT candles in total from 2019-04-14T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "910000 BTC/USDT candles in total from 2019-04-14T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "911000 BTC/USDT candles in total from 2019-04-13T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "912000 BTC/USDT candles in total from 2019-04-12T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "913000 BTC/USDT candles in total from 2019-04-12T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "914000 BTC/USDT candles in total from 2019-04-11T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "915000 BTC/USDT candles in total from 2019-04-10T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "916000 BTC/USDT candles in total from 2019-04-10T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "917000 BTC/USDT candles in total from 2019-04-09T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "918000 BTC/USDT candles in total from 2019-04-08T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "919000 BTC/USDT candles in total from 2019-04-08T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "920000 BTC/USDT candles in total from 2019-04-07T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "921000 BTC/USDT candles in total from 2019-04-06T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "922000 BTC/USDT candles in total from 2019-04-05T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "923000 BTC/USDT candles in total from 2019-04-05T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "924000 BTC/USDT candles in total from 2019-04-04T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "925000 BTC/USDT candles in total from 2019-04-03T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "926000 BTC/USDT candles in total from 2019-04-03T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "927000 BTC/USDT candles in total from 2019-04-02T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "928000 BTC/USDT candles in total from 2019-04-01T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "929000 BTC/USDT candles in total from 2019-04-01T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "930000 BTC/USDT candles in total from 2019-03-31T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "931000 BTC/USDT candles in total from 2019-03-30T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "932000 BTC/USDT candles in total from 2019-03-30T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "933000 BTC/USDT candles in total from 2019-03-29T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "934000 BTC/USDT candles in total from 2019-03-28T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "935000 BTC/USDT candles in total from 2019-03-27T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "936000 BTC/USDT candles in total from 2019-03-27T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "937000 BTC/USDT candles in total from 2019-03-26T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "938000 BTC/USDT candles in total from 2019-03-25T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "939000 BTC/USDT candles in total from 2019-03-25T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "940000 BTC/USDT candles in total from 2019-03-24T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "941000 BTC/USDT candles in total from 2019-03-23T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "942000 BTC/USDT candles in total from 2019-03-23T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "943000 BTC/USDT candles in total from 2019-03-22T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "944000 BTC/USDT candles in total from 2019-03-21T16:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "945000 BTC/USDT candles in total from 2019-03-20T23:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "946000 BTC/USDT candles in total from 2019-03-20T07:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "947000 BTC/USDT candles in total from 2019-03-19T14:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "948000 BTC/USDT candles in total from 2019-03-18T21:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "949000 BTC/USDT candles in total from 2019-03-18T05:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "950000 BTC/USDT candles in total from 2019-03-17T12:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "951000 BTC/USDT candles in total from 2019-03-16T19:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "952000 BTC/USDT candles in total from 2019-03-16T03:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "953000 BTC/USDT candles in total from 2019-03-15T10:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "954000 BTC/USDT candles in total from 2019-03-14T17:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "955000 BTC/USDT candles in total from 2019-03-14T01:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "956000 BTC/USDT candles in total from 2019-03-13T08:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "957000 BTC/USDT candles in total from 2019-03-12T15:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "958000 BTC/USDT candles in total from 2019-03-11T23:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "959000 BTC/USDT candles in total from 2019-03-11T06:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "960000 BTC/USDT candles in total from 2019-03-10T13:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "961000 BTC/USDT candles in total from 2019-03-09T21:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "962000 BTC/USDT candles in total from 2019-03-09T04:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "963000 BTC/USDT candles in total from 2019-03-08T11:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "964000 BTC/USDT candles in total from 2019-03-07T19:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "965000 BTC/USDT candles in total from 2019-03-07T02:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "966000 BTC/USDT candles in total from 2019-03-06T09:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "967000 BTC/USDT candles in total from 2019-03-05T17:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "968000 BTC/USDT candles in total from 2019-03-05T00:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "969000 BTC/USDT candles in total from 2019-03-04T07:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "970000 BTC/USDT candles in total from 2019-03-03T15:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "971000 BTC/USDT candles in total from 2019-03-02T22:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "972000 BTC/USDT candles in total from 2019-03-02T05:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "973000 BTC/USDT candles in total from 2019-03-01T13:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "974000 BTC/USDT candles in total from 2019-02-28T20:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "975000 BTC/USDT candles in total from 2019-02-28T03:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "976000 BTC/USDT candles in total from 2019-02-27T11:00:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "977000 BTC/USDT candles in total from 2019-02-26T18:20:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "978000 BTC/USDT candles in total from 2019-02-26T01:40:00.000Z to 2021-01-04T12:38:00.000Z\n",
            "979000 BTC/USDT candles in total from 2019-02-25T09:00:00.000Z to 2021-01-04T12:38:00.000Z\n"
          ],
          "name": "stdout"
        }
      ]
    },
    {
      "cell_type": "code",
      "metadata": {
        "id": "iYbqDa68ZeJj"
      },
      "source": [
        ""
      ],
      "execution_count": null,
      "outputs": []
    }
  ]
}